
#ifndef POINTRESTRAINTWIDGET_H
#define POINTRESTRAINTWIDGET_H

#include <BButton>
#include <BComboBox>
#include <BRealSpinBox>
#include <BCheckBox>
#include <BPointRestraint>

using namespace BWE;

class PointRestraintPanel : public BWidget
{
	BOBJECT(PointRestraintPanel);
public:
	PointRestraintPanel(BWidget* parent = 0);
	~PointRestraintPanel();

protected:
	void slotAssetChanged(BObject* object, const BValue& value);
	void slotDamplingSpinBoxEditFinished(BObject* object, const BValue& value);
	void slotImpulseClampEditFinished(BObject* object, const BValue& value);

private:
	BPointRestraint*		_pointRestraint;
	BRealSpinBox*			_dampingSpinBox;
	BRealSpinBox*			_impulseClampSpinBox;
};

#endif
